home *** CD-ROM | disk | FTP | other *** search
/ Mac Power 1997 December / MACPOWER-1997-12.ISO.7z / MACPOWER-1997-12.ISO / AMUG / PROGRAMMING / Raven 1.2 Examples.sit / Raven 1.2 Examples / Quill / Source / CustomClassDialog.h < prev    next >
Text File  |  1997-02-22  |  1KB  |  54 lines

  1. /*
  2.  *    File:        CustomClassDialog.h
  3.  *    Function:    A dialog that allows the user to change a pane's class.
  4.  *    Written by:    Jesse Jones
  5.  *
  6.  *  Copyright ゥ 1997 Jesse Jones. 
  7.  *    For conditions of distribution and use, see copyright notice in ZTypes.h  
  8.  *
  9.  *    Change History (most recent first):
  10.  *
  11.  *         <->     2/22/97    JDJ        Created
  12.  */
  13.  
  14. #pragma once
  15.  
  16. #include <ZDialogBox.h>
  17.  
  18.  
  19. // ===================================================================================
  20. //    class CCustomClassDialog
  21. // ===================================================================================
  22. class CCustomClassDialog : public TDialogBox {
  23.     
  24.     typedef TDialogBox Inherited;
  25.     
  26. //-----------------------------------
  27. //    Initialization/Destruction
  28. //
  29. public:
  30.     virtual               ~CCustomClassDialog();
  31.     
  32.     static    bool         Pose(string* base, string* derived);
  33.         
  34. protected:
  35.                         CCustomClassDialog();
  36.                         
  37. //-----------------------------------
  38. //    TReanimator Support
  39. //
  40. public:
  41.     static     MReanimatable* Create(MReanimatable* parent);
  42.  
  43. //-----------------------------------
  44. //    Internal API
  45. //
  46. protected:
  47.             void         SetData(const string& base, const string& derived);
  48.             
  49.             string        GetBase() const;
  50.  
  51.             string        GetDerived() const;
  52. };
  53.  
  54.